_MakeTTSSpokenAudio
(17 actions, 15 KB)
0 Get Dictionary from
[Shortcut Input]
»
2
3
7
8
12
13
1 List »
[English, EN]
2 If
[1 List]
contains
[0 Dictionary
.language
]
3 Make Spoken Audio from
[0 Dictionary
.text
]
»
SpeakTextPitch
:
0.9002242088317871
SpeakTextLanguage
:
en-US
SpeakTextRate
:
0.40433478355407715
SpeakTextVoice
:
com.apple.ttsbundle.siri_Aaron_en-US_compact
4 Set Variable
spokenAudio
to
[3 Spoken Audio]
5 End If
6 List »
[Chinese, ZH]
7 If
[6 List]
contains
[0 Dictionary
.language
]
8 Make Spoken Audio from
[0 Dictionary
.text
]
»
SpeakTextPitch
:
0.9002242088317871
SpeakTextLanguage
:
zh-TW
SpeakTextRate
:
0.40433478355407715
SpeakTextVoice
:
com.apple.ttsbundle.gryphon-neural_chenghan_zh-TW_premium
9 Set Variable
spokenAudio
to
[8 Spoken Audio]
10 End If
11 List »
[German, DE]
12 If
[11 List]
contains
[0 Dictionary
.language
]
13 Make Spoken Audio from
[0 Dictionary
.text
]
»
SpeakTextPitch
:
0.9002242088317871
SpeakTextLanguage
:
de-DE
SpeakTextRate
:
0.40433478355407715
SpeakTextVoice
:
com.apple.ttsbundle.gryphon-neural_chenghan_zh-TW_premium
14 Set Variable
spokenAudio
to
[13 Spoken Audio]
15 End If
16 Stop and Output
[spokenAudio]